package JiekouZuoYe;

public class TestComputer {
	public static void main(String[] args) {
		CPU cpu = new Brand();
		EMS ems = new Leixing();
		HardDisk harddisk = new Rongliang();
		Computer computer = new Computer();
		computer.setCpu(cpu);
		computer.setEms(ems);
		computer.setHarddisk(harddisk);
		computer.show();
	}
}
